<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>Layui</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../../static/css/style.css" th:href="@{http://localhost:8080/css/style.css}">
	<link rel="stylesheet" href="../../static/css/man/manager.css"
		  th:href="@{http://localhost:8080/css/man/manager.css}">
	<link rel="stylesheet" href="../../static/layui/css/layui.css"
		  th:href="@{http://localhost:8080/layui/css/layui.css}">
	<script src="../../static/layui/layui.js" th:src="@{http://localhost:8080/layui/layui.js}"></script>
	<script src="../../static/js/jquery.js"
			th:src="@{http://localhost:8080/webjars/jquery/3.6.0/jquery.min.js}"></script>
	<!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>


<input type="date" id="data" style="border: 1px solid red;">

<script>
	$("#data").on("change",function (){
		alert()
	})
</script>



<!--弹出对话框,并获取按键反馈-->

<!--<div class="site-demo-button" id="layerDemo" style="margin-bottom: 0;">
	<button data-method="confirmTrans" class="layui-btn">配置一个透明的询问框</button>
</div>


<script>
	layui.use('layer', function(){ //独立版的layer无需执行这一句
		layer.msg('添加成功', {
			btn: ['查看所有产品', '继续添加产品'],
			btnAlign: 'c',
			anim: 6,
			yes:function (index,layero){
				alert("btn1");
			},
			btn2:function (index,layero){
				alert("btn2")
			}
		});
	});
</script>-->

</body>
</html>